﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UwinEducation.Application.Dtos;
using UwinEducation.Domain.Entities;


namespace UwinEducation.Application.Mappings
{
    public class ClassroomProfile : Profile
    {
        public ClassroomProfile()
        {
            CreateMap<Classroom, ClassroomDto>();

            //CreateMap<RolePermission, RolePermission>();

            CreateMap<CreateClassroomDto, Classroom>();
            CreateMap<UpdateClassroomDto, Classroom>();


            //CreateMap<Role, RoleDto>()
            //.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.Name));
        }
    }
}
